import request from '@/utils/request'

// 查询当前有功需量汇总
export function queryCurrentDemandTotal(query) {
  return request({
    url: '/report/history/current/demand/total',
    method: 'get',
    params: query
  })
}

// 查询当前有功需量详情
export function queryCurrentDemand(query) {
  return request({
    url: '/report/history/current/demand',
    method: 'get',
    params: query
  })
}
